package org.mqtt;

public enum EncryptMethod {

    AES_DEVICE_RANDOM("1", "AES加密设备端动态密钥"), TLS("2", "TLS证书加密"), AES_SERVER_RANDOM("3", "AES加密服务端动态密钥");

    private final String code;

    private final String name;

    EncryptMethod(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
